package com.wzy.dao.impl;

import com.wzy.dao.UserDao;
import com.wzy.entity.User;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;

@Repository("userDao")
public class UserDaoImpl implements UserDao {
    @Override
    public int save(User user) {
        System.out.println("保存成功！");
        return 1;
    }

    @Override
    public int delete(int id) {
        System.out.println("删除成功！");
        return 1;
    }
}
